import Vue from 'vue'

import App from './App'

//导入api接口
import api from './api'
Vue.prototype.$api = api

//导入公共列表查询接口
import request from '@/http/request.js'
Vue.prototype.$request = request

//导入公共common.js
import commonJs from './common/js/common'
Vue.prototype.$commonJs = commonJs
//导入公共的支付
import payCommon from './common/js/payCommon'
Vue.prototype.$payCommon = payCommon

import tabBar from "@/components/tab-bar/tabBar.vue"

import tabBarAdmin from "@/components/tab-bar/tabBarAdmin.vue"

import pageTools from '@/utils/page-tools.js'
Vue.use(pageTools);

import store from './store'
Vue.prototype.$store = store

// 资源base url
import base from '@/api/base.js'
Vue.prototype.$cdn = base.common_url

//百度地图ak-小程序:Nm1iocdqp7cCPTbeu5dkIilsioj16Hd5

Vue.config.productionTip = false

App.mpType = 'app'
Vue.component('tabBar', tabBar)
Vue.component('tabBarAdmin',tabBarAdmin)
const app = new Vue({
    ...App
})

app.$mount()
